x=eval(input())
y=eval(input())
r=eval(input())
d=(x**2+y**2)**0.5
eps=0.000001
if d<r:
    print(1)
elif d==r:
    print(0)
else:
    print(-1)